package pl.edu.mimuw.irs.core.util;

import java.io.Serializable;


public class RelativePosition implements Serializable {

	private static final long serialVersionUID = 7605174313137088402L;

	// *** Attributes

	private Position rel1;
	private Position rel2;
	public Position getRel1() {
		return rel1;
	}
	public void setRel1(Position rel1) {
		this.rel1 = rel1;
	}
	public Position getRel2() {
		return rel2;
	}
	public void setRel2(Position rel2) {
		this.rel2 = rel2;
	}
	
	// *** Constructors
	
	public RelativePosition(Position rel1, Position rel2) {
		setRel1(rel1);
		setRel2(rel2);
	}

	public RelativePosition(int x1, int y1, int x2, int y2) {
		this(new Position(x1, y1), new Position(x2, y2));
	}
	
	// *** Methods
	
	
}
